package com.ztgf.sms.models.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信模板
 *
 * @author lvzeming
 * @Date 2020-10-15 14:32:14
 */
@Data
public class CommonResVO implements Serializable {
    @ApiModelProperty(value = "模板id")
    private Long modelId;
    @ApiModelProperty(value = "模板名称")
    private String modelName;
    @ApiModelProperty(value = "操作名称")
    private String operatorName;
    @ApiModelProperty(value = "类型")
    private String type;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
